package com.cyl.manager.pms.convert;

import com.cyl.manager.pms.domain.dto.PmsBrandAttentionDTO;
import com.cyl.manager.pms.domain.entity.PmsBrandAttention;
import com.cyl.manager.pms.domain.vo.PmsBrandAttentionVO;
import org.mapstruct.Mapper;



import java.util.List;
/**
 * 品牌关注  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(componentModel = "spring")
public interface PmsBrandAttentionConvert  {

    /**
     * @param source DO
     * @return DTO
     */
    PmsBrandAttentionDTO do2dto(PmsBrandAttention source);

    /**
     * @param source DTO
     * @return DO
     */
    PmsBrandAttention dto2do(PmsBrandAttentionDTO source);

    List<PmsBrandAttentionVO> dos2vos(List<PmsBrandAttention> list);
}
